package com.song.service;

import com.song.dto.EmployeeLoginDTO;
import com.song.dto.EmployeePageQueryDTO;
import com.song.dto.EmployeeRegisterDTO;
import com.song.entity.Employee;
import com.song.result.PageResult;


public interface EmployeeService {
    // 员工登录信息查询
    Employee login(EmployeeLoginDTO employeeLoginDTO);
    //添加员工
    void addEmployee(EmployeeRegisterDTO employeeRegisterDTO);
    //分页查询员工信息
    PageResult<Employee> getEmployeePage(EmployeePageQueryDTO employeePageQueryDTO);

    Integer updateEmployeeStatus(Integer status, Long id);

    Employee getEmployeeById(Long id);

    Integer updateEmployee(Employee employee);
}
